package top.zhmq.goodsconsumer.hystrix;


import org.springframework.stereotype.Component;
import top.zhmq.commonmodule.model.Cart;
import top.zhmq.commonmodule.model.Goods;
import top.zhmq.commonmodule.model.Userorder;
import top.zhmq.goodsconsumer.service.GoodsService;

import java.util.List;

/**
 *
 *
 * @author Glory
 * @classname GoodsServiceHystrix
 * @create 2021-06-06 19:57
 */

@Component
public class GoodsServiceHystrix implements GoodsService {

    @Override
    public List<Goods> getAllgoods() {
        return null;
    }

    @Override
    public List<Goods> getOnegoods(String gname) {
        return null;
    }

    @Override
    public int paygoods(int gid, int gremain) {
        return 0;
    }

    @Override
    public List<Userorder> getAllorder(int uid) {
        return null;
    }

    @Override
    public Goods getOnegid(int gid) {
        return null;
    }

    @Override
    public int insertOrder(String goodsname, int number, int price, int uid) {
        return 0;
    }

    @Override
    public List<Cart> getAllcart(int uid) {
        return null;
    }


    @Override
    public int intcart(String goodsname, int number, int price, int goodid, int uid) {
        return 0;
    }


    @Override
    public int deleteCart(int gid) {
        return 0;
    }

    @Override
    public int updateCart(int number, int id) {
        return 0;
    }

}
